home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / plugins / postproc / detedge / r3detedm.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.8 KB  |  75 lines

  1.  
  2. // JavaScript wrapper for r3detedm.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_EDGEDETMOD_H = 1;
  7. include("real/code/r3postim.js")
  8.  
  9.  
  10. var R3CLID_EDGEDETECTIONMODEL = 1502;
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. R3EDETMA_Threshold = 1502500;
  19. function SetR3EDETMA_Threshold(value) {
  20.   R3Set(this.r3obj, R3EDETMA_Threshold, value, R3TID_FLOAT, 0); 
  21. }
  22.  
  23. function GetR3EDETMA_Threshold() {
  24.   return R3Get(this.r3obj, R3EDETMA_Threshold, R3TID_FLOAT, 0); 
  25. }
  26.  
  27. R3EDETMA_InChannel = 1502501;
  28. function SetR3EDETMA_InChannel(value) {
  29.   R3Set(this.r3obj, R3EDETMA_InChannel, value, R3TID_STRING, 0); 
  30. }
  31.  
  32. function GetR3EDETMA_InChannel() {
  33.   return R3Get(this.r3obj, R3EDETMA_InChannel, R3TID_STRING, 0); 
  34. }
  35.  
  36. R3EDETMA_OutChannel = 1502502;
  37. function SetR3EDETMA_OutChannel(value) {
  38.   R3Set(this.r3obj, R3EDETMA_OutChannel, value, R3TID_STRING, 0); 
  39. }
  40.  
  41. function GetR3EDETMA_OutChannel() {
  42.   return R3Get(this.r3obj, R3EDETMA_OutChannel, R3TID_STRING, 0); 
  43. }
  44.  
  45. R3EDETMA_Geometric = 1502503;
  46. function SetR3EDETMA_Geometric(value) {
  47.   R3Set(this.r3obj, R3EDETMA_Geometric, value, R3TID_INTEGER, 0); 
  48. }
  49.  
  50. function GetR3EDETMA_Geometric() {
  51.   return R3Get(this.r3obj, R3EDETMA_Geometric, R3TID_INTEGER, 0); 
  52. }
  53.  
  54.  
  55.  
  56. function r3Edgedetectionmodel () { 
  57.    this.base = r3God;
  58.    if(arguments.length) {
  59.       this.base(R3CLID_EDGEDETECTIONMODEL, arguments);
  60.    }
  61.    // Methods
  62.  
  63.    // Attributes
  64.    this.GetThreshold=GetR3EDETMA_Threshold;
  65.    this.SetThreshold=SetR3EDETMA_Threshold;
  66.    this.GetInChannel=GetR3EDETMA_InChannel;
  67.    this.SetInChannel=SetR3EDETMA_InChannel;
  68.    this.GetOutChannel=GetR3EDETMA_OutChannel;
  69.    this.SetOutChannel=SetR3EDETMA_OutChannel;
  70.    this.GetGeometric=GetR3EDETMA_Geometric;
  71.    this.SetGeometric=SetR3EDETMA_Geometric;
  72. }
  73.  
  74. r3Edgedetectionmodel.prototype=new r3Postimageeffectmodel;
  75. // r3detedm.h_H